//
//  CellOfClickLvXingDi.m
//  SeeTheWorld
//
//  Created by dllo on 16/3/2.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "CellOfClickLvXingDi.h"
#import "PCH.pch"
#import <UIImageView+WebCache.h>


@interface CellOfClickLvXingDi ()

@property (nonatomic, retain)UIImageView *imageView1;
@property (nonatomic, retain)UIImageView *imageView2;

@end

@implementation CellOfClickLvXingDi

- (void)dealloc {
    [_imageView1 release];
    [_imageView2 release];
    [super dealloc];
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    
    if (self) {
        [self createSubviews];
    }
    
    return self;
}

- (void)createSubviews {
    
    self.imageView1 = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"iconfont-jiaoyin"]];
    [self.contentView addSubview:self.imageView1];
    [_imageView1 release];
        
    self.imageView2 = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"iconfont-jiaoyin-2"]];
    [self.contentView addSubview:self.imageView2];
    [_imageView2 release];
    
    
    
}

- (void)layoutSubviews {
    [super layoutSubviews];
    
    self.imageView1.frame = CGRectMake(WIDTH / 6, 20, 50, 50);
    self.imageView2.frame = CGRectMake(WIDTH / 3 + 20, 67, 50, 50);
    
    
}





@end
